﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="CancelReq.aspx.cs" Inherits="SubmitOverTime_CancelReq" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        <asp:Label ID="lblMessage" runat="server" Text="对不起，没有可取消的记录！" Width="354px" Visible="False"></asp:Label><br />
        <asp:Panel ID="Panel2" runat="server" Height="50px" Visible="False" Width="527px">
            审批者：<asp:Label ID="lblApproverName" runat="server" Width="196px"></asp:Label><br />
            加班事由：<asp:Label ID="lblReason" runat="server" Width="443px"></asp:Label></asp:Panel>
        <br />
        <asp:GridView ID="grdResult" runat="server" AutoGenerateColumns="False" BackColor="White"
            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" OnRowCommand="grdResult_RowCommand" OnSelectedIndexChanged="grdResult_SelectedIndexChanged" Width="557px">
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <Columns>
                <asp:BoundField HeaderText="开始时间" DataField="StartTime" />
                <asp:BoundField HeaderText="结束时间" DataField="EndTime" />
                <asp:BoundField HeaderText="提交时间" DataField="SubmitTime" />
                <asp:BoundField HeaderText="类别" DataField="TypeName" />
                <asp:BoundField HeaderText="状态" DataField="Status" />
                <asp:BoundField HeaderText="小时数" DataField="Hours" />
                <asp:ButtonField Text="详细情况．．．" CommandName="Select" HeaderText="详细情况" />
                <asp:ButtonField ButtonType="Button" CommandName="Del" HeaderText="取消" Text="取消" />
            </Columns>
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <AlternatingRowStyle BackColor="#F7F7F7" />
        </asp:GridView>
        &nbsp;</div>
        <asp:Panel ID="Panel1" runat="server" Height="27px" Visible="False" Width="283px">
            <asp:Label ID="Label2" runat="server" Text="真的要取消吗？" Width="139px"></asp:Label>&nbsp;
            <asp:Button ID="BtnYes" runat="server" Text="是" OnClick="BtnYes_Click" />
            <asp:Button ID="btnNo" runat="server" Text="否" OnClick="btnNo_Click" /></asp:Panel>
</asp:Content>